//
//  ProductItemDetailViewController.h
//  ShoppingExperience
//
//  Created by LiYinDi on 15-5-19.
//  Copyright (c) 2015年 RuiBen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ZJSwitch.h"
@protocol  ProductItemDetailDelegate;

@interface ProductItemDetailViewController : UIViewController
@property(nonatomic,weak) id<ProductItemDetailDelegate> delegate;
@property(nonatomic,strong)NSMutableArray *itemCodeArray;
@property(nonatomic,strong)NSMutableArray *itemNameArray;
@property(nonatomic,strong)NSMutableArray *itemWhereArray;
@property(nonatomic,strong)NSMutableArray *itemPriceArray;
@property(nonatomic,strong)NSMutableArray *itemUrlArray;
@property(nonatomic,strong)NSMutableArray *itemWeightArray;

@property(nonatomic,strong)NSMutableArray *itemSeriesNameArray;
@property(nonatomic,strong)NSMutableArray *itemTypeNameArray;
@property(nonatomic,strong)NSMutableArray *itemInDateArray;
 

@property(nonatomic,assign)NSInteger selectID;
@property(nonatomic,strong)NSString *itemCodeStr;
@property(nonatomic,strong)NSString *companyCodeStr;
@property(weak, nonatomic)IBOutlet UILabel *titleLabel;

@property(weak, nonatomic)IBOutlet UIView *rightViewContainer;
@property(weak, nonatomic)IBOutlet UIWebView *itemUrlWebView;
@property(weak, nonatomic)IBOutlet UIButton *shopCartBtn;
@property(weak, nonatomic)IBOutlet UIButton *addToShopCartBtn;
@property(weak, nonatomic)IBOutlet UILabel *productNameLabel;
@property(weak, nonatomic)IBOutlet UIImageView *productImage;
@property(weak, nonatomic)IBOutlet UIButton *productImageBtn;
@property(weak, nonatomic)IBOutlet UIButton *selectImageBtn;

//@property(nonatomic,strong)IBOutlet UIButton *cancelBtn;
//@property(nonatomic,strong)IBOutlet UIScrollView *productImageScrollView;
//@property(nonatomic,strong)IBOutlet UIPageControl *productImagePageControl;
@property(weak, nonatomic)IBOutlet UILabel *seriesNameLabel;
@property(weak, nonatomic)IBOutlet UILabel *styleNameLabel;
@property(weak, nonatomic)IBOutlet UILabel *weightLabel;
@property(weak, nonatomic)IBOutlet UILabel *weightTagLabel;
@property(weak, nonatomic)IBOutlet UILabel *dateLabel;
@property(weak, nonatomic)IBOutlet UILabel *addressLabel;
@property(weak, nonatomic)IBOutlet UILabel *priceLabel;

@property(weak, nonatomic)IBOutlet UILabel *certIdLabel;
@property(weak, nonatomic)IBOutlet UILabel *securitycodeLabel;
@property(weak, nonatomic)IBOutlet UILabel *adverbNameLabel;
@property(weak, nonatomic)IBOutlet UILabel *neatNessNameLabel;

@property(weak, nonatomic)IBOutlet UILabel *sizeLabel;
@property(weak, nonatomic)IBOutlet UILabel *mainQtyLabel;
@property(weak, nonatomic)IBOutlet UILabel *shapeLabel;
@property(weak, nonatomic)IBOutlet UILabel *adverbQtyNameLabel;
@property(weak, nonatomic)IBOutlet UILabel *gramLabel;
@property(weak, nonatomic)IBOutlet UILabel *itemCodeLabel;

@property(weak, nonatomic)IBOutlet UITextView *productTextView;
@property(weak, nonatomic)IBOutlet UIView *detailLabelView;
@property(weak, nonatomic)IBOutlet UILabel *detailNameLabel;
//kuanshixinxi
@property(weak, nonatomic)IBOutlet UIView *seriesView;
@property(weak, nonatomic)IBOutlet UIView *seriesTagView;
@property(weak, nonatomic)IBOutlet UITextView *seriesTextView;
@property(weak, nonatomic)IBOutlet UILabel *seriesCodeLabel;
@property(weak, nonatomic)IBOutlet UILabel *typeNameLabel;
@property(weak, nonatomic)IBOutlet UILabel *designerLabel;
@property(weak, nonatomic)IBOutlet UILabel *cadDateLabel;
@property(weak, nonatomic)IBOutlet UILabel *itypeNameLabel;

@property(weak, nonatomic)IBOutlet UIButton *upImageButton;
@property(weak, nonatomic)IBOutlet UILabel *upImageNoteLabel;

@property(weak, nonatomic)IBOutlet UIScrollView *rightScrollView;
@property(weak, nonatomic)IBOutlet UITableView *leftTableView;

@property(weak, nonatomic)IBOutlet UIView *photoPickerViewContainer;


@end
@protocol  ProductItemDetailDelegate <NSObject>

@optional

-(void)productItemDetailShopCartClick;
-(void)productItemDetailBackClick;
@end

